from .base import Logger


class WebSocketLogger(Logger):
    def __init__(self):
        super().__init__()
        self.__path = "/ws.log"
        self.__name = "websocket log"

    def log(self, type="info", msg="-"):
        msg = f"{type}> {msg}\n"
        self.write(msg)
